//
// Created by dddgzc on 2025/1/23.
//

#ifndef MAINMENUSCENE_H
#define MAINMENUSCENE_H
#include "Animation.h"
#include "Camera.h"
#include "MyTimer.h"
#include "SceneManager.h"
#include "Scene.h"
#include "Content.h"

extern SceneManager* sceneManager;
extern SDL_Texture* menuBackground; // 开始菜单背景

class MainMenuScene : public Scene{
public:
    MainMenuScene() = default;
    ~MainMenuScene() = default;

    // 场景进入时
    void onEnter() override;
    // 渲染时
    void onDraw(const Camera& camera) override;
    // 数据更新
    void onUpdate(int delta) override;
    // 按键输入
    void onInput(const SDL_Event &e) override;
    // 场景退出时
    void onExit() override;

private:
    MyTimer myTimer;
};



#endif //MAINMENUSCENE_H
